package cn.wzvtc.demo.model.entity;

import cn.wzvtc.demo.base.MongoBaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.data.mongodb.core.mapping.Document;

import java.util.List;

/**
 * @description 模板表单实体类
 * @author Supyo
 */
@EqualsAndHashCode(callSuper = true)
@Document(collection = "form_tpl")
@Data
public class FormTplEntity extends MongoBaseEntity {

    /**
     * 表单的名字
     */
    private String title;

    /**
     * 表单的描述
     */
    private String desc;

    /**
     * 组件的详细内容
     */
    private List<FormTplComponent> components;

}
